package com.sias.realestate.web.dao;

import java.util.List;

import com.sias.realestate.core.generic.GenericDao;
import com.sias.realestate.web.model.Price;

public interface PriceMapper extends GenericDao<Price, Integer>{
    int deleteByPrimaryKey(Integer pId);

    int insert(Price record);

    int insertSelective(Price record);

    Price selectByPrimaryKey(Integer pId);

    int updateByPrimaryKeySelective(Price record);

    int updateByPrimaryKey(Price record);
    
    List<Price> findAll();
    
    List<Price> selectByType(String pType);
}